package net.aaa.hotel.dao.impl;

import net.aaa.hotel.dao.StaffLeavingDao;
import net.aaa.hotel.util.BaseDB;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public class StaffLeavingDaoImpl implements StaffLeavingDao {
    @Override
    public List<Map> queryYG() {
        String sql ="SELECT id,`name`,rzdate,iphone,lzdate from h_yg WHERE `status`=1";

        return BaseDB.queryMap(sql);
    }
}
